import Vue from 'vue'
import App from './App.vue'
import router from './router'

import 'normalize.css/normalize.css'
import '@/views/pages/css/layout.less'
import '@/utils/htmlFontSize.js'

// element的组件 通过/element查看详情
import hzxElement from '@/components/@element/index'
Vue.use(hzxElement)

import { Post, Get } from '@/api/index'
Vue.prototype.$Post = Post
Vue.prototype.$Get = Get

// Ant Design
import { Layout, Icon, Menu, row, col, tooltip, Input, Button, Message, Select } from 'ant-design-vue'
Vue.use(Layout)
Vue.use(Icon)
Vue.use(Menu)
Vue.use(row)
Vue.use(col)
Vue.use(tooltip)
Vue.use(Input)
Vue.use(Button)
Vue.use(Select)
Vue.prototype.$msg = Message

// 时间获取
// import { getDaysAgo } from '@/utils/date.js'
// Vue.prototype.$getDaysAgo = getDaysAgo

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

